using Assets.Scripts;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CharacterCards : MonoBehaviour
{

    public int id;
    public new string name;
    public int hp;
    public int maxHp;
    public int speed;
    public int qi;
    public string skill;

    CharacterCardsDefine define;

    public CharacterCards(int id)
    {

        if (DataManager.Instance.characterCards.TryGetValue(id, out define))
        {

        }
    }

    public void SetCardInfo(CharacterCardsDefine define)
    {
        
    }


    #region 原构造函数
    public CharacterCards(int id, string name, int maxHp, int speed, int qi, string skill)
    {
        this.id = id;
        this.name = name;
        this.hp = maxHp;
        this.maxHp = maxHp;
        this.speed = speed;
        this.qi = qi;
        this.skill = skill;
    }
    #endregion



}
